package com.weixin.program.po;


import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Data
@Table(name = "record")
public class Record implements Serializable {

    @Id
    Integer id;

    @Column(name = "to_user_id")
    String toUserId;

    @Column(name = "from_user_id")
    String fromUserId;

    @Column(name = "msg_type")
    String msgType;

    @Column(name = "content")
    String content;

    @Column(name = "am_pm")
    String amPm;

    @Column(name = "date_time")
    String dateTime;

    @Column(name = "msg_id")
    Long msgId;

    @Column(name = "status")
    Integer status;

    @Column(name = "record_time")
    Date recordTime;

    @Column(name = "create_time")
    Date createTime;

    @Column(name = "update_time")
    Date updateTime;

}
